//
//  ShowPopViewController.m
//  YIJU2.0HD
//
//  Created by 张金国 on 16/5/17.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import "MAppointmentHousePopViewController.h"
#import "Masonry.h"
#import "Macro.h"
#import "mAppointmentHouseView.h"

@interface MAppointmentHousePopViewController ()

@property (nonatomic, strong)mAppointmentHouseView *mAppointmentHouseView;//预约看房

@end

@implementation MAppointmentHousePopViewController
#pragma mark - Life Circle
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    CGFloat maxH = MIN(480,360);
    CGFloat minW = MIN(480, 300);
    self.preferredContentSize = CGSizeMake(minW, maxH);
    [self setupHouseView];
 
}


- (void)setupHouseView {
    [self.mAppointmentHouseView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
}

- (mAppointmentHouseView *)mAppointmentHouseView {
    if (!_mAppointmentHouseView) {
        _mAppointmentHouseView = [[mAppointmentHouseView alloc] init];
        [self.view addSubview:_mAppointmentHouseView];
    }
    return _mAppointmentHouseView;
}




@end
